﻿namespace AnQinFrameWorkAPI.Entity.SystemCore.View.Menu;

/// <summary>
///     菜单表视图
/// </summary>
public class MenuView
{
    /// <summary>
    ///     菜单表id
    /// </summary>
    public string Id { get; set; }

    /// <summary>
    ///     菜单名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     菜单icon
    /// </summary>
    public string? Icon { get; set; }

    /// <summary>
    ///     上级菜单id
    /// </summary>
    public string? SuperiorId { get; set; }

    /// <summary>
    ///     上级菜单名称
    /// </summary>
    public string? SuperiorName { get; set; }

    /// <summary>
    ///     序号
    /// </summary>
    public int Order { get; set; }

    /// <summary>
    ///     是否渲染
    /// </summary>
    public bool IsShow { get; set; }

    /// <summary>
    ///     是否启用
    /// </summary>
    public bool IsEnable { get; set; }

    /// <summary>
    ///     是否开启缓存
    /// </summary>
    public bool IsCache { get; set; }

    /// <summary>
    ///     菜单地址
    /// </summary>
    public string? Url { get; set; }

    /// <summary>
    ///     备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
}